from odoo import fields, models, api


class StockPicking(models.Model):
    _inherit = 'stock.picking'

    move_product_ids = fields.Many2many('product.product', string='Move Products', compute='_compute_move_product_ids')

    @api.depends('move_ids_without_package')
    def _compute_move_product_ids(self):
        for record in self:
            record.move_product_ids = record.move_ids_without_package.product_id.ids
